<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <link href="../css/home.css" type="text/css" rel="stylesheet"/>
    <script charset="UTF-8" language="javascript"  type="text/javascript"  src="../js/uiTest.js"></script>
    <script charset="UTF-8" language="javascript"  type="text/javascript"  src="../js/home.js"></script>
    <link href="../css/bootstrap3.3.6.min.css" rel="stylesheet">
    <script src="../js/jquery2.1.1.min.js"></script>
    <script src="../js/bootstrap.min.js"></script>
</head>
<body onload="initializeData()">
    <div class="bottom">
        <div class="filter">
            <div>
                <label>所属项目:</label>
                <select name="project" id="projects" title="所属项目" onchange=""></select>
            </div>
            <div>
                <label>用例名:</label>
                <input type="text" id="words" title="模糊查找用例名"/>
            </div>
            <div>
                <label>节点地址:</label>
                <input type="text" id="ipForTitle" title="用于全部执行时统一执行ip"/>
            </div>
            <div style="float: right">
                <button  title="" onclick="runAll()">全部执行</button>
            </div>
            <div style="float: right">
                <button  title="" onclick="controlTopDivUT('open', '添加用例')">新建</button>
            </div>
            <div style="float: right">
                <button  title="" onclick="loadCases()">查询</button>
            </div>

        </div>
        <div style="width: 30%; padding-right: 5px; ">
            <div class="content">
                <table id="caseList" border="1" style="border-collapse: collapse; width: 100%; text-align: left">
                    <tbody>
                    <tr>
                        <th style="width: 60px">项目名</th>
                        <th>用例名</th>
                        <th>用例说明</th>
                        <th style="width: 165px">操作</th>
                    </tr>
                    </tbody>
                </table>
            </div>
        </div>
        <div style="width: 70%; padding-left: 5px; float: right;">
            <div class="content">
                <table id="caseActions" border="1" style="border-collapse: collapse; width: 100%; text-align: left">
                    <tbody>
                    <tr t="header">
                        <th style="width:40px">是否跳过</th>
                        <th style="width:40px">异常跳过</th>
                        <th style="width: 120px">动作名称</th>
                        <th style="width: 50%">动作描述</th>
                        <th>预期</th>
                        <th>文字描述</th>
                        <th style="width: 80px">操作</th>
                    </tr>
                    </tbody>
                </table>
            </div>
        </div>


    </div>
    <div class="topDiv1000" id="createCase" style="display: none;">
        <div class="topDiv1001 api">
            <div style="width: 100%">
                <label class="topDivTitle" id="topDivTitle"></label>
                <label class="close" onclick="controlTopDivUT('close', '')">X</label>
            </div>
            <div style="width: 100%; padding: 0 20px 0 20px; text-align: center">
                <div id="caseId" style="display: none;"></div>
                <div>
                    <label>项目名称:</label>
                    <select name="projectName" id="projectName" title="所属项目" onchange=""></select>
                </div>
                <div>
                    <label>节点地址:</label>
                    <input type="text" id="ipAddress" title="去哪个节点地址执行"/>
                </div>
                <div>
                    <label>用例名称:</label>
                    <textarea id="caseName" placeholder=""></textarea>
                </div>
                <div>
                    <label>用例说明:</label>
                    <textarea id="describe" placeholder=""></textarea>
                </div>

                <button class="topDivSaveButton" id="saveButton">保存</button>
            </div>

        </div>
    </div>
</body>
</html>